package com.haoze.nurseapp.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

/**
 * 套餐医嘱dto
 * @author fcx
 * @date 2019年3月4日20:49:11
 */
public class EmrTemplateDTO {
    private String tplId; // 病历模板ID，，，主键
    private String baseTplId; // 基础病历模板ID
    private String tplCode; // 模板代码，，，电子病历模板代码
    private String tplName; // 模板名称
    private String tplContent; // 模板内容，，，保存病历模板文件ID或名称
    private String roleType; // 属性，，FD000052，1 全院 2 科室 3个人
    private String deptId; // 创建科室代码，，，关联SYSMN.DEPT_DICT.DEPT_ID当为全院模板时为0
    private String doctorId; // 创建人代码，，，关联SYSMN.DEPT_DICT.DEPT_ID当为全院模板时为0
    private String ctlId; // 病历目录ID，，，关联EMR.EMR_CATALOG. CTL_ID
    private String patientType; // 患者类型，，FD000053，0 男 1 女 2 通用
    private String stopFlag; // 停用标志，，FD000011 1 启用 0 停用
    private String remark; // 备注，DE06.00.179.00
    private String pyCode; // 拼音码
    private String wbCode; // 五笔码
    private String lastUpdateDoctorId; // 最后修改人ID，，，关联SYSMN.SYS_USER.USER_ID
    private String stopPersonId; // 停用人，，，关联SYSMN.SYS_USER.USER_ID
    private Date stopDateTime; // 停用时间
    private String parentTplId; // 基础模板ID，，，0表示没有继承，否则表示继承模板
    private String catalogName;
    private String baseTplSource;
    private String createUserName;
    private Date createTime;
    private Date modifyTime;
    private String showType;
    private String deptName;
    private String parentTplName;
    private String clsName;//分类名称
    private String classId;//分类id
    private String subjectName;//学科名称

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getClsName() {
        return clsName;
    }

    public void setClsName(String clsName) {
        this.clsName = clsName;
    }

    private String emrType;//病历目录类型

    private List<String> authDeptIds;

    public List<String> getAuthDeptIds() {
        return authDeptIds;
    }

    public void setAuthDeptIds(List<String> authDeptIds) {
        this.authDeptIds = authDeptIds;
    }

    public String getEmrType() {
        return emrType;
    }

    public void setEmrType(String emrType) {
        this.emrType = emrType;
    }

    public String getTplId() {
        return tplId;
    }

    public void setTplId(String tplId) {
        this.tplId = tplId;
    }

    public String getTplCode() {
        return tplCode;
    }

    public void setTplCode(String tplCode) {
        this.tplCode = tplCode;
    }

    public String getTplName() {
        return tplName;
    }

    public void setTplName(String tplName) {
        this.tplName = tplName;
    }

    public String getTplContent() {
        return tplContent;
    }

    public void setTplContent(String tplContent) {
        this.tplContent = tplContent;
    }

    public String getRoleType() {
        return roleType;
    }

    public void setRoleType(String roleType) {
        this.roleType = roleType;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }

    public String getCtlId() {
        return ctlId;
    }

    public void setCtlId(String ctlId) {
        this.ctlId = ctlId;
    }

    public String getPatientType() {
        return patientType;
    }

    public void setPatientType(String patientType) {
        this.patientType = patientType;
    }

    public String getStopFlag() {
        return stopFlag;
    }

    public void setStopFlag(String stopFlag) {
        this.stopFlag = stopFlag;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPyCode() {
        return pyCode;
    }

    public void setPyCode(String pyCode) {
        this.pyCode = pyCode;
    }

    public String getWbCode() {
        return wbCode;
    }

    public void setWbCode(String wbCode) {
        this.wbCode = wbCode;
    }

    public String getLastUpdateDoctorId() {
        return lastUpdateDoctorId;
    }

    public void setLastUpdateDoctorId(String lastUpdateDoctorId) {
        this.lastUpdateDoctorId = lastUpdateDoctorId;
    }

    public String getStopPersonId() {
        return stopPersonId;
    }

    public void setStopPersonId(String stopPersonId) {
        this.stopPersonId = stopPersonId;
    }

    public Date getStopDateTime() {
        return stopDateTime;
    }

    public void setStopDateTime(Date stopDateTime) {
        this.stopDateTime = stopDateTime;
    }

    public String getParentTplId() {
        return parentTplId;
    }

    public void setParentTplId(String parentTplId) {
        this.parentTplId = parentTplId;
    }

    public String getCatalogName() {
        return catalogName;
    }

    public void setCatalogName(String catalogName) {
        this.catalogName = catalogName;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getBaseTplId() {
        return baseTplId;
    }

    public void setBaseTplId(String baseTplId) {
        this.baseTplId = baseTplId;
    }

    public String getBaseTplSource() {
        return baseTplSource;
    }

    public void setBaseTplSource(String baseTplSource) {
        this.baseTplSource = baseTplSource;
    }

    public String getShowType() {
        return showType;
    }

    public void setShowType(String showType) {
        this.showType = showType;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getParentTplName() {
        return parentTplName;
    }

    public void setParentTplName(String parentTplName) {
        this.parentTplName = parentTplName;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }
}
